package com.cloud.message.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cloud.common.bean.PageInfo;
import com.cloud.message.dto.ConsumerQueryParamDTO;
import com.cloud.message.entity.Consumer;

public interface ConsumerService extends IService<Consumer> {

    boolean exist(String topic, String serviceName);

    PageInfo<Consumer> getPage(ConsumerQueryParamDTO consumerQueryDTO);

}
